package main

import (
	"RedWork/api"
	"RedWork/dao"
	"RedWork/service"
	"fmt"
)

func main() {
	err := dao.InitDB()
	service.InitRedis()
	if err != nil {
		fmt.Println("dao.InitDB err!", err)
		return
	}
	api.API()
}
